package xyz.second.database.portal.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 操作记录表
 * </p>
 *
 * @author qjw
 * @since 2021-06-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("operation")
public class Operation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 操作记录表编号
     */
    @TableId(value = "operation_id", type = IdType.AUTO)
    private Integer operationId;

    /**
     * 操作事项
     */
    @TableField("operation_matter")
    private String operationMatter;

    /**
     * 老师id
     */
    @TableField("teacher_id")
    private Integer teacherId;

    /**
     * 学生id
     */
    @TableField("student_id")
    private Integer studentId;

    /**
     * 请假表id
     */
    @TableField("vacation_id")
    private Integer vacationId;

    /**
     * 审批表id
     */
    @TableField("approval_id")
    private Integer approvalId;


}
